package code.part07_ThreadPool;

/**
 * @author: ZJT
 * @Time: 2021/7/25
 * @Description:
 */
public class Task implements Runnable {

    @Override
    public void run() {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(Thread.currentThread().getName() + " running");
    }
}
